package com.itheima03;

public class InterDemo {
    public static void main(String[] args) {
        // 按照多态创建对象
        Inter i = new InterLmpl();
        i.show1();
        System.out.println("--------");
        i.show2();
        System.out.println("--------");
        Inter.method1();
        System.out.println("--------");
        Inter.method2();
    }
}
